<?php
namespace App\Controller;

use Melon\Request;

class HomeController
{
    public function indexAction(Request $request): string
    {
        $return = "请求URI: " . $request->path() . "<br>";
        $return .= "请求Method: " . $request->method() . "<br>";
        $return .= "北京时间：" . date('Y-m-d H:i:s') . "<br>";
        $return .= "处理WorkerId: " . $request->getWorkerId() . "<br>";

        $request->query('aaa');

        return $return;
    }
}
